/*
* @author tanyuze
*/
'use strict'
import request from '@/utils/request'
/**
 * 查询评论列表
 */
export function queryPage(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/areaCommunication/queryPage',
    method: 'post',
    data
  })
}
/**
 * 溯源
 */
export function queryPage4(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/areaCommunication/traceability',
    method: 'post',
    data
  })
}
/**
 * 审核
 */
export function examine(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/areaCommunication/examine',
    method: 'post',
    data
  })
}
/**
 * 详情
 */
export function get(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/areaCommunication/get',
    method: 'post',
    data
  })
}

/**
 * 字典
 */
export function getDictByCode(dictCode) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/sysDictionary/getDictByCode',
    method: 'POST',
    data: {
      dictCode
    }
  })
}
